<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>我的订单</title>
<link href="__PUBLIC__/style.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/style.css" rel="stylesheet" type="text/css" />
<script src="__PUBLIC__/js/jquery.js" type="text/javascript"></script>
<script src="__PUBLIC__/artDialog/jquery.artDialog.js?skin=default" type="text/javascript"></script>
<script src="__PUBLIC__/artDialog/plugins/iframeTools.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/ajax.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/inputpost.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/common.js" type="text/javascript"></script>
</head>
<body>
<div class="top50"></div>
<div id="main">
<div class="login"><div class="title">我的订单!</div> 
 {include file="user/userinfo"}
<div style="height:10px; border-top:1px solid #fff"></div>
<div class="table-list">
<table width="100%" cellspacing="0" cellpadding="0"> 
<thead>
<tr>
    <th class="one" width="60">订单编号</th>
    <th width="60">操作</th>
    <th width="80">状态</th>
    <th width="80">评论</th>
    <th width="125">时间</th>
    <th width="200">订单商品</th>
    <th width="40">数量</th>
    <th width="80">总价</th>
    <th width="80">收款人</th>
    <th>收货地址</th>
</tr>
</thead>
<tbody>
    {loop $info $key $rs}
<tr{if $key%2} class="sys"{/if}>
    <td class="t-c">{$rs['usernumber']}</td>
    <td class="t-c">
        <span class="pt" onclick="look('__URL__/orderread-{$rs['id']}.html','查看',520,450)" title="查看订单"><img src="__PUBLIC__/images/icon_page.gif" /></a></span>
        {if !$rs['new']}<span class="del" uid="__URL__/order-{$rs['id']}.html" title="取消订单"><img src="__PUBLIC__/images/icon_del.gif" /></span>{/if}
    </td>
    <td class="t-c">{if $rs['new'] == 1}<span class="pt goto" uid="__URL__/orderpass-{$rs['id']}.html">确认收货</span>{elseif $rs['new'] == 2}完成交易{else}<span class="hot">未发货</span>{/if}</td>
    <td class="t-c">{if $rs['new'] == 2}<a href="__APP__/shop/index-{$rs['shopid']}.html#comment" target="_blank">我要评论</a>{else}禁止评论{/if}</td>
    <td class="t-c">{date('Y-m-d h:i:s',$rs['shoptime'])}</td>
    <td class="t-c"><a href="__APP__/shop/index-{$rs['shopid']}.html" target="_blank">{$rs['shopname']}</a></td>
    <td class="t-c">{$rs['shopcount']}</td>
    <td class="t-c"><span class="hot">￥<?=$rs['shoprmb']*$rs['shopcount']?></span></td>
    <td class="t-c">&nbsp;{$rs['name']}</td>
    <td class="t-l"><img src="__PUBLIC__/images/icon_li.gif" /> {$rs['address']}</td>
</tr>
{/loop}
</tbody>
</table>
</div>
</div>
</div>
</body>
</html>